
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>密码修改 - <?php echo $cfg_webname; ?></title>
<link href="<?php echo $cfg_skin;?>/css/common.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $cfg_skin;?>/css/index.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $cfg_skin;?>/css/iconfont.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $cfg_skin;?>/css/uploadifive.css" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" href="<?php echo $cfg_cmsurl; ?>/favicon.ico"/>
<script type="text/javascript" src="<?php echo $cfg_skin;?>/js/jquery-1.7.1.js"></script>
<script type="text/javascript" src="<?php echo $cfg_skin;?>/js/main.js"></script>
<script type="text/javascript">
var reMethod = "<?php echo ($cfg_soft_lang == 'utf-8') ? 'POST' : 'GET';?>",pwdmin = <?php echo $cfg_mb_pwdmin; ?>;
function ReseSubmit()
{
	if(document.form1.pwd.value=="")
	{
		alert("请填写新密码！");
		document.form1.userid.focus();
		return false;
	}
	
	if(document.form1.pwdok.value=="")
	{
		alert("请填写确认密码！");
		document.form1.pwdok.focus();
		return false;
	}
	
	if(document.form1.pwd.value!=document.form1.pwdok.value)
	{
		alert("两次密码不一致！");
		document.form1.pwdok.focus();
		return false;
	}
	
}
</script>
</head>

<body >

	<!-- head -->
   <?php pasterTempletDiy("head.htm"); ?>
    <!-- head End -->

        <!-- contact -->
    <div class="w1180 mt30 pb80">
    	<div class="bgWhite loginBox">
        	<div class="centerBox">
            	<p class="tc c_333 f14"><font color="blue"><?php echo $row['membername']?></font>，请输入你的新密码</p>
                <ul class="mt30">
				<form name="form1" method="post" action="resetpassword.php" onsubmit="return ReseSubmit();">
                <input type="hidden" name="dopost" value="getpasswd">
                <input type="hidden" name="setp" value="2">
                <input type="hidden" name="id" value="<?php echo $id;?>" />
                <input name="key" type="hidden" value="<?php echo $key;?>" />
                	<li><input type="password" id="pwdrese" name="pwd" placeholder="请输入新密码" class="input mt15"/></li>
                	<li><input type="password" id="pwdokrese" name="pwdok" placeholder="请再次输入新密码" class="input mt15"/></li>
                	<li class="mt15"><input type="submit" value="下一步" class="btn f16 radius5 w100 height48" id="subrese"/></li>
				</form>
                </ul>
            </div>
        </div>
    </div>   
    <!-- contact End -->
    
    
    <!-- footer -->
   <?php pasterTempletDiy("footer.htm"); ?>
    <!-- footer End -->
</body>
</html>